package pro.shushi.pamirs.hr.api.tmodel;

import pro.shushi.pamirs.hr.api.model.org.Employee;
import pro.shushi.pamirs.meta.annotation.Field;
import pro.shushi.pamirs.meta.annotation.Model;
import pro.shushi.pamirs.meta.base.TransientModel;

import java.util.List;

@Model.model(EmployeeBatchReq.MODEL_MODEL)
@Model(displayName = "员工批量打标",summary = "员工批量打标")
public class EmployeeBatchReq extends TransientModel {

    public static final String MODEL_MODEL = "hr.simple.EmployeeBatchReq";

    @Field.String
    @Field(displayName = "标签", multi = true, required = true)
    private List<String> labels;

    @Field.many2many
    @Field(displayName = "员工列表", required = true)
    private List<Employee> employees;

}